package com.itheima.reggie.annotations;

import java.lang.annotation.*;

/**
 * 清空缓存注解
 */
@Target({ ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface ItheimaCacheEvict {
    public String value() default "";
    public String key() default "";//#支持EL表达式
    public boolean allEntries() default false; //是否清除所有缓存，默认是false
}
